package com.buaa.model.solr;

import org.apache.solr.client.solrj.beans.Field;
import org.springframework.data.annotation.Id;
import org.springframework.data.solr.core.mapping.SolrDocument;

import java.util.List;

/**
 * Created by DELL on 2018/4/9.
 */
@SolrDocument(solrCoreName="paper")
public class Paper {

    @Field("id")
    private String id;

    @Field("title_cn_ik")
    private String title_cn;

    @Field("title_en_ik")
    private String title_en;

    @Field("abstract_cn_ik")
    private String abstract_cn;

    @Field("abstract_en_ik")
    private String abstract_en;

    @Field("keywords_cn_ss")
    private List<String> keyword_cn;

    @Field("journal_cn_s")
    private String journal_cn;

    @Field("journal_en_s")
    private String journal_en;

    @Field("year_i")
    private int year;

    @Field("url_s")
    private String url;

    @Field("author_cn_ss")
    private List<String> authors;

    @Field("organizations_simple_cn_ss")
    private List<String> organizations;

    @Field("author_firstworkplace_ss")
    private List<String> author_organizations;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle_cn() {
        return title_cn;
    }

    public void setTitle_cn(String title_cn) {
        this.title_cn = title_cn;
    }

    public String getTitle_en() {
        return title_en;
    }

    public void setTitle_en(String title_en) {
        this.title_en = title_en;
    }

    public String getAbstract_cn() {
        return abstract_cn;
    }

    public void setAbstract_cn(String abstract_cn) {
        this.abstract_cn = abstract_cn;
    }

    public String getAbstract_en() {
        return abstract_en;
    }

    public void setAbstract_en(String abstract_en) {
        this.abstract_en = abstract_en;
    }

    public List<String> getKeyword_cn() {
        return keyword_cn;
    }

    public void setKeyword_cn(List<String> keyword_cn) {
        this.keyword_cn = keyword_cn;
    }

    public String getJournal_cn() {
        return journal_cn;
    }

    public void setJournal_cn(String journal_cn) {
        this.journal_cn = journal_cn;
    }

    public String getJournal_en() {
        return journal_en;
    }

    public void setJournal_en(String journal_en) {
        this.journal_en = journal_en;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<String> getAuthors() {
        return authors;
    }

    public void setAuthors(List<String> authors) {
        this.authors = authors;
    }

    public List<String> getOrganizations() {
        return organizations;
    }

    public void setOrganizations(List<String> organizations) {
        this.organizations = organizations;
    }

    public List<String> getAuthor_organizations() {
        return author_organizations;
    }

    public void setAuthor_organizations(List<String> author_organizations) {
        this.author_organizations = author_organizations;
    }
}
